package org.kl.bf.entity.basic;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.kl.bf.entity.AuditableEntity;

import com.fasterxml.jackson.annotation.JsonFormat;

@Entity
@Table(name = "basic_excel_impot_file")
public class ExcelImportFile extends AuditableEntity {
	private static final long serialVersionUID = 1L;
	private String uploadUserId;// 上传者
	private String fileName;// 文件名
	private String fileSize;// 文件大小
	private String filePath;// 文件目录
	private Date uploadTime;// 上传时间
	private String downloadUserId;// 下载人
	private Date lastDownloadTime;// 最近下载时间
	private String importNo;//导入模板No
	private String fileType;//文件类型

	public String getImportNo() {
		return importNo;
	}

	public void setImportNo(String importNo) {
		this.importNo = importNo;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
	public Date getLastDownloadTime() {
		return lastDownloadTime;
	}

	public void setLastDownloadTime(Date lastDownloadTime) {
		this.lastDownloadTime = lastDownloadTime;
	}

	public String getDownloadUserId() {
		return downloadUserId;
	}

	public void setDownloadUserId(String downloadUserId) {
		this.downloadUserId = downloadUserId;
	}

	public String getUploadUserId() {
		return uploadUserId;
	}

	public void setUploadUserId(String uploadUserId) {
		this.uploadUserId = uploadUserId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

}